package com.xiechuang.service;

import com.xiechuang.api.TestApi;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description 业务层
 * @Author xiechuang
 * @Date 2021/11/14
 */
@Service
public class TestService {

    @Resource
    private TestApi testApi;

    /**
     * 测试feign调用
     *
     * @param name
     * @return
     */
    public String testFeign(String name) {
        return testApi.testFeign(name);
    }

}
